package domain

var (
	SendStringMap = make(map[string]string)
)

type Position struct {
	X int `json:"x"`
	Y int `json:"y"`
}
type Resize struct {
	X int `json:"x"`
	Y int `json:"y"`
}
type Order struct {
	Type    string   `json:"type"`
	Pos     Position `json:"pos"`
	Resize  Resize   `json:"resize"`
	Time    int      `json:"time"`
	VkKey   int      `json:"vkKey"`
	Content string   `json:"content"`
}

type BindPara struct {
	Dx       string `json:"dx"`
	Mouse    string `json:"mouse"`
	Keyboard string `json:"keyboard"`
}
type WindowInfo struct {
	Class    string   `json:"class"`
	Title    string   `json:"title"`
	BindPara BindPara `json:"bindPara"`
}

type Script struct {
	Order  Order
	Window WindowInfo
}
